﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace Amf4Asmx.Configuration
{
    internal static class Utils
    {
        internal static bool IsTypeHandlerOrFactory(Type t)
        {
            if (!typeof(IHttpHandler).IsAssignableFrom(t))
            {
                return typeof(IHttpHandlerFactory).IsAssignableFrom(t);
            }
            return true;
        }
    }
}
